import { defineStore } from 'pinia'

export const useEquipmentStore = defineStore(
  'equipment',
  () => {
    const weighbridgeList = [
      {
        typename: '白色仪表',
        ID: 'MF0180',
        MacAddress: '20:19:05:10:06:08',
        time: '2022-01-01 12:00:00',
      },
      {
        typename: '灰色仪表',
        ID: 'MF0181',
        MacAddress: '98:D3:31:F7:47:87',
        time: '2022-01-01 12:00:00',
      },
      {
        typename: '蓝色仪表',
        ID: 'MF0182',
        MacAddress: '98:D3:31:F7:47:88',
        time: '2022-01-01 12:00:00',
      },
    ]
    const printerList = [
      {
        name: '打印机1',
        type: '192.168.1.101',
        Mactype: ' MAC 123456',
        time: '2022-01-01 12:00:00',
      },
      {
        name: '打印机2',
        type: '192.168.1.102',
        Mactype: ' MAC 123456',
        time: '2022-01-01 12:00:00',
      },
    ]
    return { weighbridgeList, printerList }
  },
  {},
)
